import request from '@/utils/request'

// 查询宝鸡市青年科技新星推荐列表
export function listQNXXTJB(query) {
  return request({
    url: '/person/web/QNXXTJB/list',
    method: 'get',
    data: query
  })
}

// 查询宝鸡市青年科技新星推荐详细
export function getQNXXTJB(id) {
  return request({
    url: '/person/web/QNXXTJB/' + id,
    method: 'get'
  })
}

// 新增宝鸡市青年科技新星推荐
export function addQNXXTJB(data) {
  return request({
    url: '/person/web/QNXXTJB',
    method: 'post',
    data: data
  })
}

// 修改宝鸡市青年科技新星推荐
export function updateQNXXTJB(data) {
  return request({
    url: '/person/web/QNXXTJB',
    method: 'put',
    data: data
  })
}

// 删除宝鸡市青年科技新星推荐
export function delQNXXTJB(id) {
  return request({
    url: '/person/web/QNXXTJB/' + id,
    method: 'delete'
  })
}
//提交
export function SubmitQNXXTJB(id) {
  return request({
    url: '/person/web/QNXXTJB/submit/' + id,
    method: 'put'
  })
}
//审批
export function reviewQNXXTJB(id) {
  return request({
    url: '/person/web/QNXXTJB/review/' + id,
    method: 'put'
  })
}
//驳回
export function rejectQNXXTJB(id) {
  return request({
    url: '/person/web/QNXXTJB/reject/' + id,
    method: 'put'
  })
}
